<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>创客码</title>
	<link rel="stylesheet" href="__INDEX__/css/mui.min.css">
    <link rel="stylesheet" href="__INDEX__/css/style.css" />
    <link rel="stylesheet" href="__INDEX__/css/mall.css" />
    <style> 
	#qrcode canvas{width: 216px; height: 216px;}
	@media screen and (min-width: 320px) and (max-width: 370px){.payment_conbox{width: 120px; height: 120px;}#qrcode canvas{width: 106px; height: 106px;}} 
	@media screen and (min-width: 412px) and (max-width: 630px){.payment_conbox{width: 150px; height: 150px;}#qrcode canvas{width: 136px; height: 136px;}} 
	@media screen and (min-width: 375px) and (max-width: 410px){.payment_conbox{width: 140px; height: 140px;}#qrcode canvas{width: 126px; height: 126px;}} 
	</style> 
</head>
<body  style="background: url(__INDEX__/images/p7.jpg) no-repeat;background-size: 100% 100%;position: relative;height:auto;">
	

	    <div class="huiysmbox" style="position: fixed;left: 32%;bottom:45%;">

	    	<div class="huiysm_ewm">
	    		<div class="payment_conbox" >
					<div id="qrcode"></div>
				</div>
	    	</div>
	    	
	    </div>

</body>
</html>

{include file="public/footer" /}
<script src="/public/static/js/jquery.qrcode.js"></script>
<script src="/public/static/js/utf.js"></script>

<script>
	$("#qrcode").qrcode({
		render: "canvas", //设置渲染方式，有table和canvas，使用canvas方式渲染性能相对来说比较好
		text: "{$code_url}",
		width: "200", //二维码的宽度
		height: "200", //二维码的高度
		background: "#ffffff", //二维码的后景色
		foreground: "#000000", //二维码的前景色
		src: "{$logo}" //二维码中间的图片
	});
</script>